//
//  MKDetailsItemsObject.h
//  YangDongXi
//
//  Created by 杨鑫 on 15/12/14.
//  Copyright © 2015年 yangdongxi. All rights reserved.
//

#import "MKValueAddedServiceObject.h"

typedef NS_ENUM(NSInteger, MKRefundStatu)
{
    MKApplyStatu        = 1,   /**< 申请*/
    MKProcessingStatu   = 2,   /**< 退款中*/
    MKrefuseStatu       = 3,   /**< 不同意*/
    MKFinishedStatu     = 4,   /**< 退款完成*/
    MKFailedStatu      = 5,   /**< 退款失败*/
};

@interface MKDetailsItemsObject : MKBaseObject

/**@brief 订单商品uid*/
@property (nonatomic, strong) NSString *orderItemUid;

/**@brief 商品uid*/
@property (nonatomic, strong) NSString *itemUid;

/**@brief 商品名称*/
@property (nonatomic, strong) NSString *itemName;

/**@brief 主图url*/
@property (nonatomic, strong) NSString *iconUrl;

/**@brief 单价，都是 * 100的值*/
@property (nonatomic, assign) float price;

/**@brief 发货方式：0 未指定，1一般进口，2保税区发货，3海外直邮*/
@property (nonatomic, assign) NSInteger deliveryType;

/**@brief sku信息的快照，例如：“颜色:黑色 尺码:xl”*/
@property (nonatomic, strong) NSString *skuSnapshot;
@property (nonatomic,assign)NSInteger state;
@property (nonatomic,strong)NSMutableArray *itemImageArray;
@property (nonatomic,assign)NSInteger itemTypeOne;
/**@brief 金额*/
@property (nonatomic,assign)NSInteger paymentAmount;
/**@brief 余额*/
@property (nonatomic,assign)NSInteger discountAmount;
/**@brief 积分*/
@property (nonatomic,assign)NSInteger point;

/**@brief 商品退款状态 1 申请中 2 退款中 3 不同意 4 退款完成 5 退款失败*/
@property (nonatomic,assign)NSInteger refundStatus;

@property (nonatomic,assign)NSInteger number;
@property (nonatomic, strong) NSString *skuUid;

@property (nonatomic,strong)NSMutableArray * valueServiceList;
@property (nonatomic,assign)BOOL isChecked;

+ (NSString *)refundStatusWithString:(MKRefundStatu)refundStatus;

@end
